fix: change default model to kimi-k2.5-free with updated free models list (#133)#134
fix: change default model to kimi-k2.5-free with updated free models list (#133)#134
Conversation
Adding CLAUDE.md with task information for AI processing. This file will be removed when the task is complete. Issue: #133
This case study documents the "Model grok-code not supported" error that occurred on 2026-01-25 when xAI ended the free tier for Grok Code Fast 1 on OpenCode Zen. Key findings: - Root cause: xAI business decision to end free tier (not a technical bug) - Impact: All users relying on default grok-code model are affected - Solutions: Use alternative free models (gpt-5-nano, big-pickle) or paid models The case study includes: - Complete timeline of events - Root cause analysis - Immediate workarounds - Long-term solution recommendations - Related external and internal references Fixes #133 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This reverts commit d1a2e68.
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
Now working session is ended, feel free to review and add any feedback on the solution draft. |
|
Ok, let's switch default model in our code and docs to Update all code and docs for grok-code model and don't treat it as free anymore. |
|
🤖 AI Work Session Started Starting automated work session at 2026-01-26T10:15:40.262Z The PR has been converted to draft mode while work is in progress. This comment marks the beginning of an AI work session. Please wait working session to finish, and provide your feedback. |
xAI ended the free tier for Grok Code Fast 1 on OpenCode Zen in January 2026. This change: - Updates default model from opencode/grok-code to opencode/gpt-5-nano in JavaScript and Rust implementations - Marks grok-code as discontinued free model in MODELS.md - Updates all documentation (README, EXAMPLES, etc.) - Updates test files to use new default model - Updates provider priority to put free models first - Marks issue #133 case study as resolved Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
Now working session is ended, feel free to review and add any feedback on the solution draft. |
|
Get latest version of the code from default branch, and use Also double check we have listed in docs of OpenCode Zen subscription and in README.md and other places: In that specific order, where Ensure all changes are correct, consistent, validated, tested and fully meet all discussed requirements (check issue description and all comments in issue and in pull request). Ensure all CI/CD checks pass. |
|
🤖 AI Work Session Started Starting automated work session at 2026-02-12T18:04:54.335Z The PR has been converted to draft mode while work is in progress. This comment marks the beginning of an AI work session. Please wait for the session to finish, and provide your feedback. |
Resolved conflict in js/README.md by updating to new default model kimi-k2.5-free Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This change implements the updated free models list for OpenCode Zen subscription as requested in issue #133. Changes: - Default model changed from opencode/gpt-5-nano to opencode/kimi-k2.5-free - Updated free models priority list in order of recommendation: 1. kimi-k2.5-free (best recommended) 2. minimax-m2.1-free 3. gpt-5-nano 4. glm-4.7-free 5. big-pickle - Added deprecation warning for grok-code model noting it is no longer included as a free model in OpenCode Zen subscription Files updated: - JavaScript implementation (js/src/index.js) - Rust implementation (rust/src/cli.rs) - Task tool default model (js/src/tool/task.ts) - Provider priority list (js/src/provider/provider.ts) - Documentation (MODELS.md, README.md, js/README.md, rust/README.md, EXAMPLES.md) - All 19 test files - Experiment scripts All 52 Rust tests pass with the new default model. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Solution Update LogSummary of ChangesAll requested changes have been implemented:
Files Updated
Test Results
Merge ConflictsResolved merge conflicts from main branch before implementing changes. Working session completed. PR is now ready for review. |
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
Now working session is ended, feel free to review and add any feedback on the solution draft. |
Summary
This PR resolves the issue where the default model
opencode/grok-codeis no longer available after xAI ended the free tier for Grok Code Fast 1 on OpenCode Zen in January 2026.Changes Made
Default model changed from
opencode/grok-codetoopencode/kimi-k2.5-freein:js/src/index.js)rust/src/cli.rs)js/src/tool/task.ts)js/src/provider/provider.ts)Free models list updated (in order of recommendation):
opencode/kimi-k2.5-free- Best recommended (new default)opencode/minimax-m2.1-free- Good alternativeopencode/gpt-5-nano- Reliable free optionopencode/glm-4.7-free- Another free optionopencode/big-pickle- Basic free modelDocumentation updated:
MODELS.md- Added deprecation warning for grok-code, updated free models section with new orderREADME.md- Updated example commandsjs/README.md- Updated all references to the default model and free models listrust/README.md- Updated CLI options documentationEXAMPLES.md- Updated all example commandsTest files updated - All 19 test files updated to use new default model
Case study added -
docs/case-studies/issue-133/README.mddocuments the grok-code discontinuationImportant Note
Grok Code Fast 1 (
opencode/grok-code) is no longer included as a free model in OpenCode Zen subscription. Users should switch to one of the recommended free alternatives listed above.Test Results
test_args_defaultstest that verifies the new default modelUser Impact
agentwithout specifying--modelwill now useopencode/kimi-k2.5-freeinstead ofopencode/grok-codeTest plan
echo "hi" | agentto confirm new default model worksCloses #133
🤖 Generated with Claude Code